<?php
//版权所有(C) 2014 www.ilinei.com

namespace admin;

require_once ROOTPATH.'/module/admin/lang.php';

//配置菜单
class main{
	//默认
	public function index(){
		global $_var;
		
		$_menu = new \admin\_menu();
		
		$menu = $_menu->get_by_url('{$ADMIN_SCRIPT}/admin/main');
		$menus = $_menu->get_list_of_user($_var['current'], "AND m.PARENTID = '{$menu[MENUID]}'");
		
		include_once view('/module/admin/view/main');
	}
	
}
?>